package com.it.sun.yuebike.base.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.it.sun.yuebike.base.model.dto.BikeInvitationDTO;
import com.it.sun.yuebike.base.model.entity.InvitationEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author sunmannian
 * @since 2021-06-05
 */
public interface InvitationMapper extends BaseMapper<InvitationEntity> {

    IPage<BikeInvitationDTO> queryPage(Page page);

    BikeInvitationDTO getOneById(String id);
}
